package com.lancoo.cvas.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lancoo.cvas.entity.Teacher;
import com.lancoo.cvas.pojo.response.basicPlatform.BaseTeacher;
import com.lancoo.cvas.pojo.vo.TeacherGroup;

import java.util.List;

/**
 * 教师
 *
 * @author liufeng
 * @email 1037383243@qq.com
 * @date 2023-12-04 11:54:00
 */
public interface TeacherService extends IService<Teacher> {


    void  syncBaseTeachers(Integer taskId, List<BaseTeacher> list, String schoolId, String term);


    /**
     * 根据教学班id获取其教师信息
     * @param teachingClassIds
     * @return
     */
    List<Teacher> getTeacherByTeachingClassIds(List<Long> teachingClassIds);

    /**
     *获取全部老师 根据课题组分组
     * @param schoolId
     * @param term
     * @return
     */
    List<TeacherGroup> getTeacherListGroup(Integer taskId,String schoolId, String term, Integer module);




    List<Teacher> getTeacherByKeyword(String schoolId, String term, String keyword);

    /**
     * 获取学校和学期的教师
     * @param schoolId
     * @param term
     * @return
     */
    List<Teacher> selectTeacherList(String schoolId, String term);

    List<Teacher> getSubTeacherList(Integer taskId, String subId);
}

